package com.nunbey.lingxi.module.mode.user;

import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserAccount {
    /**
     * 系统内自增ID
     */
    int userId;
    /**
     * 用户手机号
     */
    String email;
    /**
     * 用户密码
     */
    String password;
    /**
     * 用户权限
     */
    int role;
    /**
     * 注册时间
     */
    LocalDateTime createTime;

    public UserAccount(String email,String password){
        this.email = email;
        this.password = password;
    }
}
